package com.epichust.bootuqc.service.impl;

import com.epichust.bootuqc.model.dao.Uqcm5ChkMouldDao;
import com.epichust.bootuqc.model.entity.Uqcm5ChkMould;
import com.epichust.bootuqc.service.IUqcm5ChkMouldService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;

@Service
@Transactional
public class Uqcm5ChkMouldServiceImpl implements IUqcm5ChkMouldService {

    @Autowired
    Uqcm5ChkMouldDao uqcm5ChkMouldDao;

    @Override
    public List<Uqcm5ChkMould> getAllUqcm5ChkMould(Map<String, Object> map) {
//        if(map.get("orderCode") != null){
//            String [] orderCodeArr = map.get("orderCode").toString().split(",");
//            map.put("orderCode",orderCodeArr);
//        }
        return uqcm5ChkMouldDao.getAllUqcm5ChkMould(map);
    }
}
